Key representing the specific error type.
Optional
context: string | numberContextual information for the error (optional).
Optional
data: TAdditional data to include in the error response (optional).
A HederaErrorResponse object with the specified code, message, and additional data.
Generated using TypeDoc
Generates a Hedera error response based on the provided key, context, and additional data.