UNPKG

netkitty

Version:
13 lines (12 loc) 452 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.DeviceNotFoundError = void 0; const ErrorCode_1 = require("./common/ErrorCode"); class DeviceNotFoundError extends Error { constructor() { super(...arguments); this.errno = ErrorCode_1.ErrorCode.E_DEVICE_NOT_FOUND.errno; this.code = ErrorCode_1.ErrorCode.E_DEVICE_NOT_FOUND.code; } } exports.DeviceNotFoundError = DeviceNotFoundError;