detritus

ApplicationCommandsSyncErrorclass

Thrown by InteractionCommandClient.checkAndUploadCommands() once every scope was tried, with each failed scope's error keyed by guild id (LOCAL_GUILD_ID for the global commands)

On this page

Thrown by InteractionCommandClient.checkAndUploadCommands() once every scope was tried, with each failed scope's error keyed by guild id (LOCAL_GUILD_ID for the global commands)

import { ApplicationCommandsSyncError } from 'detritus-client';
BaseErrorApplicationCommandsSyncError
1 property1 inheritedsrc/errors.ts:59

Constructor

new ApplicationCommandsSyncError

src/errors.ts:62
new ApplicationCommandsSyncError(errors: Record<string, Error>)

Properties

errors
Record<string, Error>

Methods

toJSON()

src/errors.ts:5
toJSON(): { message: string; name: string; stack: string | undefined }
Inherited from BaseError.toJSON