Implement FromError.