Another candidate for a class method that returns the error.