mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 21:05:19 +00:00
feat(core): add doc grant feature to share menu (#9672)
This commit is contained in:
@@ -8,7 +8,7 @@ export interface UserFriendlyErrorResponse {
|
||||
type: string;
|
||||
name: ErrorNames;
|
||||
message: string;
|
||||
args?: any;
|
||||
data?: any;
|
||||
stacktrace?: string;
|
||||
}
|
||||
|
||||
@@ -21,7 +21,7 @@ export class UserFriendlyError
|
||||
readonly type = this.response.type;
|
||||
override readonly name = this.response.name;
|
||||
override readonly message = this.response.message;
|
||||
readonly args = this.response.args;
|
||||
readonly data = this.response.data;
|
||||
readonly stacktrace = this.response.stacktrace;
|
||||
|
||||
static fromAnyError(response: any) {
|
||||
|
||||
Reference in New Issue
Block a user