Make real Error instance to capture more error information.