swc/bundler/tests/.cache/deno/43454605486473f70df2c2cf3d2637b833e7e72d.ts
강동윤 bbaf619f63
fix(bundler): Fix bugs (#1437)
swc_bundler:
 - [x] Fix wrapped esms. (denoland/deno#9307)
 - [x] Make test secure.
2021-03-02 17:33:03 +09:00

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);
}
}