How to use defekt - 1 common examples

To help you get started, we’ve selected a few defekt examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github thenativeweb / roboter / lib / errors.js View on Github external
'use strict';

const { defekt } = require('defekt');

const errors = defekt({
  AnalysisFailed: {},
  BuildFailed: {},
  CodeMalformed: {},
  DependencyCheckFailed: {},
  DirectoryAccessFailed: {},
  ExecutableFailed: {},
  FileParsingFailed: {},
  GitFailed: {},
  GitNotInReleasableState: {},
  GitNotInUpdateableState: {},
  LicenseCheckFailed: {},
  LicenseIncompatible: {},
  LicenseNotSupported: {},
  LocalBranchBehindRemote: {},
  NoCodeFound: {},
  NoNodeEngineInPackageJsonFound: {},

defekt

defekt is custom errors made simple.

MIT
Latest version published 2 years ago

Package Health Score

47 / 100
Full package analysis

Popular defekt functions