mirror of
https://github.com/swc-project/swc.git
synced 2024-12-21 12:41:54 +03:00
bbaf619f63
swc_bundler: - [x] Fix wrapped esms. (denoland/deno#9307) - [x] Make test secure.
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);
|
|
}
|
|
}
|