Custom channel emoticons WIP (#130) + various fix/refactoring
This commit is contained in:
@ -10,4 +10,10 @@ export enum ValidationErrorType {
|
||||
|
||||
export class ValidationError extends Error {
|
||||
properties: {[key: string]: ValidationErrorType[] } = {}
|
||||
|
||||
constructor (name: string, message: string | undefined, properties: ValidationError['properties']) {
|
||||
super(message)
|
||||
this.name = name
|
||||
this.properties = properties
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user