mirror of
https://github.com/danbulant/discord.js
synced 2026-06-19 14:41:36 +00:00
Webpack build for branch master: 602fe06f88
This commit is contained in:
parent
b2a5c64d6a
commit
b01619abe4
1 changed files with 2 additions and 0 deletions
|
|
@ -16404,6 +16404,7 @@ module.exports = ClientDataResolver;
|
|||
|
||||
/**
|
||||
* Represents an error from the Discord API.
|
||||
* @extends Error
|
||||
*/
|
||||
class DiscordAPIError extends Error {
|
||||
constructor(error) {
|
||||
|
|
@ -16424,6 +16425,7 @@ class DiscordAPIError extends Error {
|
|||
* @param {Object} obj Discord errors object
|
||||
* @param {string} [key] Used internally to determine key names of nested fields
|
||||
* @returns {string[]}
|
||||
* @private
|
||||
*/
|
||||
static flattenErrors(obj, key = '') {
|
||||
let messages = [];
|
||||
|
|
|
|||
Loading…
Reference in a new issue