mirror of
https://github.com/swc-project/swc.git
synced 2024-12-22 13:11:31 +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);
|
||
|
}
|
||
|
}
|