Sha256: 7bb42c49670906aa52ad6b19062262273b2e1ddf3a66c8c3e916866b47507351

Contents?: true

Size: 266 Bytes

Versions: 7

Compression:

Stored size: 266 Bytes

Contents

var common = require('./common');

//@
//@ ### error()
//@ Tests if error occurred in the last command. Returns `null` if no error occurred,
//@ otherwise returns string explaining the error
function error() {
  return common.state.error;
};
module.exports = error;

Version data entries

7 entries across 7 versions & 4 rubygems

Version Path
xcodebuild-helper-1.2.5 externals/ios-sim-master/node_modules/shelljs/src/error.js
xcodebuild-helper-1.2.3 externals/ios-sim-master/node_modules/shelljs/src/error.js
exercism-analysis-0.1.1 vendor/javascript/node_modules/jshint/node_modules/shelljs/src/error.js
eslint_node_modules-1.6.0.1 vendor/node_modules/eslint/node_modules/shelljs/src/error.js
eslint_node_modules-1.6.0 vendor/node_modules/eslint/node_modules/shelljs/src/error.js
trans-0.5.10 template/node_modules/shelljs/src/error.js
trans-0.5.9 template/node_modules/shelljs/src/error.js