import { native_ } from './Constants';
export class GPUError extends Error {
}
const GPUErrorPrototype = GPUError.prototype;
export class GPUValidationError extends GPUError {
}
export class GPUOutOfMemoryError extends GPUError {
}
export class GPUInternalError extends GPUError {
}
export class GPUDeviceLostInfo extends GPUError {
}
export class GPUUncapturedErrorEvent {
    constructor(type, options) {
        this[native_] = options.error;
    }
    get error() {
        return this[native_];
    }
}
//# sourceMappingURL=Errors.js.map