class Espresso::InvalidValueError

Overview

Error indicating one of the arguments to the function was an invalid value. For example, requesting a non-existent OpenGL (or OpenGL ES) version, like 2.7.

Requesting a valid, but unavailable OpenGL (or OpenGL ES ) version will instead raise VersionUnavailableError.

Defined in:

espresso/errors/invalid_value_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]