ErrorRelay

interface ErrorRelay

An interface for relaying error information via a back-channel when an error occurs during execution, regardless of Query/Mutation.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract fun receiveAsFlow(): Flow<ErrorRecord>

Provides a Flow for receiving error information.

Link copied to clipboard
abstract fun send(error: ErrorRecord)

Sends error information to the relay destination.