PopErrorScopeCallback


public fun interface PopErrorScopeCallback


Summary

Public methods

abstract void
onPopErrorScope(int status, int type, @NonNull String message)

A callback function invoked when popErrorScope completes and returns the captured error.

Public methods

onPopErrorScope

Added in 1.0.0-alpha01
abstract void onPopErrorScope(int status, int type, @NonNull String message)

A callback function invoked when popErrorScope completes and returns the captured error.

Parameters
int status

The status of the error scope pop operation.

int type

The type of error captured by the scope, if any.

@NonNull String message

A human-readable message describing the error, if any.