SHARDWIRE
ReferenceErrors & Failures

ActionError

Reference for `ActionError`, exported as part of the public Shardwire surface.

interface exported from src/discord/types.ts.

Summary

Reference for ActionError, exported as part of the public Shardwire surface.

Signature

export interface ActionError {
	code:
		| 'UNAUTHORIZED'
		| 'TIMEOUT'
		| 'DISCONNECTED'
		| 'FORBIDDEN'
		| 'NOT_FOUND'
		| 'INVALID_REQUEST'
		| 'INTERNAL_ERROR'
		| 'SERVICE_UNAVAILABLE';
	message: string;
	details?: ActionErrorDetails | unknown;
}

Structure

On this page