oak-frontend-base/es/types/Exception.js

15 lines
459 B
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import { OakException } from "oak-domain/lib/types";
export class OakEnvInitializedFailure extends OakException {
error;
constructor(err) {
super('环境初始化失败,请检查授权情况');
this.error = err;
}
}
;
export class OakSubscriberConnectError extends OakException {
constructor(url, path) {
super(`Subscriber无法连接上socket请联系技术人员。url「${url}path「${path}`);
}
}