UNPKG

the-moby-effect

Version:
21 lines 688 B
import * as Data from "effect/Data"; import * as Predicate from "effect/Predicate"; /** @internal */ export const DockerErrorTypeId = /*#__PURE__*/Symbol.for("@the-moby-effect/engines/Docker/DockerError"); /** @internal */ export const isDockerError = u => Predicate.hasProperty(u, DockerErrorTypeId); /** @internal */ export class DockerError extends /*#__PURE__*/Data.TaggedError("DockerError") { [DockerErrorTypeId] = DockerErrorTypeId; get message() { return `When calling ${this.method} in ${this.module}`; } static WrapForModule(module) { return method => cause => new this({ module, method, cause }); } } //# sourceMappingURL=circular.js.map