ErrorDetailHandler

public interface ErrorDetailHandler<T extends Object>

Callback with error details.

Used for operations that do not return result data on success, but provide additional error details on failure. For example, updating user profiles returns a list of failed field keys, and subscribing to events returns a list of failed user IDs.

Parameters

T

The error detail data type

Functions

Link copied to clipboard
public abstract Unit onError(T errorDetail, NCError error)

Operation completion callback.