错误信息类型

interface Error {
    message: string;
    name: string;
}

Properties

Properties

message: string
name: string