Added comments for error type