/**
 * Wireguard errors
 *
 * @since 1.0.0
 */
import * as Data from "effect/Data";
import * as Function from "effect/Function";
import * as Schema from "effect/Schema";
/**
 * A wireguard userspace api Errno return message.
 *
 * @since 1.0.0
 * @category Errors
 */
export const SuccessErrno = /*#__PURE__*/Function.pipe(/*#__PURE__*/Schema.TemplateLiteral("errno=", /*#__PURE__*/Schema.Literal(0)), /*#__PURE__*/Schema.annotations({
  identifier: "SuccessErrno",
  description: "A successful errno"
}), /*#__PURE__*/Schema.brand("SuccessErrno"));
/**
 * @since 1.0.0
 * @category Errors
 */
export class WireguardError extends /*#__PURE__*/Data.TaggedError("WireguardError") {}
//# sourceMappingURL=WireguardErrors.js.map