Type guard to check if a value is a GenericError.
The value to check
True if the value is a GenericError, false otherwise
Type guard to check if a value is a GenericError.