Introduced another factory method in ErrorResult, allowing elimination of exceptionType in output.