function DiscordjsErrorMixin

export function DiscordjsErrorMixin<Entity, Name extends string>( Base: Constructable<Entity>, name: Name,): Constructable<Entity & DiscordjsErrorFields<Name>>;

Type Parameters

Entity

Name extends string

Parameters

Base: Constructable<Entity>
name: Name