class Espresso::InvalidEnumError

Overview

Error indicating a value given to a function was not appropriate for its context.

This error should not occur with the Espresso wrapper. If it's encountered, it's probably a bug in Espresso and should be reported.

Defined in:

espresso/errors/invalid_enum_error.cr

Instance Method Summary

Instance methods inherited from class Espresso::GLFWError

code : LibGLFW::ErrorCode code

Instance Method Detail

def code : LibGLFW::ErrorCode #

Underlying value that represents the error type.


[View source]