[−][src]Function khronos_egl::get_error
pub fn get_error() -> Option<Error>
Return error information.
Return the error of the last called EGL function in the current thread, or
None if the error is set to SUCCESS.
Note that since a call to eglGetError sets the error to SUCCESS, and
since this function is automatically called by any wrapper function
returning a Result when necessary, this function may only return None
from the point of view of a user.