mirror of
https://github.com/swc-project/swc.git
synced 2024-12-25 14:43:33 +03:00
33 lines
592 B
TypeScript
33 lines
592 B
TypeScript
// Loaded from https://deno.land/x/mysql/src/constant/errors.ts
|
|
|
|
|
|
export class ConnnectionError extends Error {
|
|
constructor(msg?: string) {
|
|
super(msg);
|
|
}
|
|
}
|
|
|
|
export class WriteError extends ConnnectionError {
|
|
constructor(msg?: string) {
|
|
super(msg);
|
|
}
|
|
}
|
|
|
|
export class ReadError extends ConnnectionError {
|
|
constructor(msg?: string) {
|
|
super(msg);
|
|
}
|
|
}
|
|
|
|
export class ResponseTimeoutError extends ConnnectionError {
|
|
constructor(msg?: string) {
|
|
super(msg);
|
|
}
|
|
}
|
|
|
|
export class ProtocolError extends ConnnectionError {
|
|
constructor(msg?: string) {
|
|
super(msg);
|
|
}
|
|
}
|