5df716bf1c
* WIP create modal * babababa * create dialog looks ok * FE largely there * workss * cleanup * fixed up test plumbing to avoid deadlocks and simplify GQL calls * test fix * added all tests * CI fix
13 lines
419 B
TypeScript
13 lines
419 B
TypeScript
import { BaseError } from '@/modules/shared/errors'
|
|
|
|
export class MultiRegionSupportDisabledError extends BaseError {
|
|
static code = 'MULTI_REGION_SUPPORT_DISABLED'
|
|
static defaultMessage = 'Multi region support is disabled'
|
|
}
|
|
|
|
export class RegionCreateError extends BaseError {
|
|
static code = 'REGION_CREATE_ERROR'
|
|
static defaultMessage = 'An error occurred while creating the region'
|
|
static statusCode = 400
|
|
}
|