mirror of
https://github.com/status-im/metro.git
synced 2025-02-28 10:40:32 +00:00
27 lines
583 B
JavaScript
27 lines
583 B
JavaScript
|
/**
|
||
|
* Copyright (c) 2016-present, Facebook, Inc.
|
||
|
*
|
||
|
* This source code is licensed under the MIT license found in the
|
||
|
* LICENSE file in the root directory of this source tree.
|
||
|
*
|
||
|
* @flow
|
||
|
* @format
|
||
|
*/
|
||
|
|
||
|
'use strict';
|
||
|
|
||
|
/**
|
||
|
* Thrown to indicate the command failed and already output relevant error
|
||
|
* information on the console.
|
||
|
*/
|
||
|
class CommandFailedError extends Error {
|
||
|
constructor() {
|
||
|
super(
|
||
|
'The Buck worker-tool command failed. Diagnostics should have ' +
|
||
|
'been printed on the standard error output.',
|
||
|
);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
module.exports = CommandFailedError;
|