8 #ifndef SkError_DEFINED
9 #define SkError_DEFINED
All is well.
Definition: SkError.h:18
Skia was unable to allocate memory to perform some task.
Definition: SkError.h:46
This is probably not possible because paint surely has defaults for everything, but perhaps a paint c...
Definition: SkError.h:42
SkError SkGetLastError()
Return the current per-thread error code.
void(* SkErrorCallbackFunction)(SkError, void *)
Type for callback functions to be invoked whenever an error is registered.
Definition: SkError.h:71
Probably not needed right now, but in the future we could have opaque handles for SkPictures floating...
Definition: SkError.h:37
SkError
Definition: SkError.h:15
void SkClearLastError()
Clear the current per-thread error code back to kNoError_SkError.
const char * SkGetLastErrorString()
Get a human-readable description of the last (per-thread) error that occurred.
User tried to perform some operation in a state when the operation was not legal, or the operands mak...
Definition: SkError.h:31
void SkSetErrorCallback(SkErrorCallbackFunction cb, void *context)
Set the current per-thread error callback.
User argument passed to Skia function was invalid: NULL when that’s not allowed, out of numeric range...
Definition: SkError.h:24
Skia failed while trying to consume some external resource.
Definition: SkError.h:50
Something went wrong internally; could be resource exhaustion but will often be a bug...
Definition: SkError.h:55