function tryCallback(callback, args) {
  try {
    return callback.apply(this, args);
  } catch (e) {
    if (typeof e === 'string') {
      return new binding.types.Error(e);
    } else if (e instanceof Error) {
      return new binding.types.Error(e.message);
    } else {
      return new binding.types.Error('An unexpected error occurred');
    }
  }
}
function tryCallback(callback, args) {
  try {
    return callback.apply(this, args);
  } catch (e) {
    if (typeof e === 'string') {
      return new binding.types.Error(e);
    } else if (e instanceof Error) {
      return new binding.types.Error(e.message);
    } else {
      return new binding.types.Error('An unexpected error occurred');
    }
  }
}
function tryCallback ( callback , args ) { try { return callback . apply ( this , args ) ; } catch ( e ) { if ( typeof e === 'string' ) { return new binding . types . Error ( e ) ; } else if ( e instanceof Error ) { return new binding . types . Error ( e . message ) ; } else { return new binding . types . Error ( 'An unexpected error occurred' ) ; } } }
Executes a callback and transforms any exception raised into a sass error

@param {Function} callback
@param {Array} arguments
@api private
Executes a callback and transforms any exception raised into a sass error
Try a callback