context_set_error_callback method.
void (*invoke) (
void *userdata,
char const *error
)
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Access | Constructor and Description |
|---|---|
| protected | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public static SpvcErrorCallback | Returns: the newSpvcErrorCallbackCreates a |
| public static SpvcErrorCallback | create(SpvcErrorCallbackI instance)
Creates a |
| public static SpvcErrorCallback | |
| public static String | Returns: the error message as a Stringthe error argument to decode error)Converts the specified |
| SpvcErrorCallback | back to summary |
|---|---|
| protected SpvcErrorCallback() | |
| SpvcErrorCallback | back to summary |
|---|---|
| pack-priv SpvcErrorCallback(long functionPointer) | |
| create | back to summary |
|---|---|
| public static SpvcErrorCallback create(long functionPointer) Creates a
| |
| create | back to summary |
|---|---|
| public static SpvcErrorCallback create(SpvcErrorCallbackI instance) Creates a | |
| createSafe | back to summary |
|---|---|
| public static SpvcErrorCallback createSafe(long functionPointer) Like
| |
| getError | back to summary |
|---|---|
| public static String getError(long error) Converts the specified This method may only be used inside a
| |
| Modifier and Type | Field and Description |
|---|---|
| private final SpvcErrorCallbackI |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | invoke(long userdata, long error)
Implements org. |
| delegate | back to summary |
|---|---|
| private final SpvcErrorCallbackI delegate | |
| Container | back to summary |
|---|---|
| pack-priv Container(long functionPointer, SpvcErrorCallbackI delegate) | |
| invoke | back to summary |
|---|---|
| public void invoke(long userdata, long error) Implements org. Doc from org. Get notified in a callback when an error triggers. Useful for debugging.
| |