Version: 0.1.0-SNAPSHOT.140.1.0-SNAPSHOT.160.1.0-SNAPSHOT.180.1.0-SNAPSHOT.200.1.0-SNAPSHOT.220.1.0-SNAPSHOT.240.1.00.2.0-SNAPSHOT.260.3.0-class0.3.1-class0.3.2-SNAPSHOT.420.3.2-SNAPSHOT.440.3.2-SNAPSHOT.460.3.2-SNAPSHOT.480.3.2-SNAPSHOT.530.3.2-SNAPSHOT.570.3.2-SNAPSHOT.610.3.2-SNAPSHOT.660.3.2-SNAPSHOT.720.3.2-SNAPSHOT.740.3.2-SNAPSHOT.780.3.2-SNAPSHOT.850.3.2-SNAPSHOT.900.3.2-SNAPSHOT.930.3.2-SNAPSHOT.950.3.3-pre.00.3.30.3.4-pre.00.4.0-pre.10.4.0-pre.20.4.00.4.1-pre.00.5.0-pre.10.5.00.5.1-pre.00.5.1-pre.10.5.1-pre.20.5.1-pre.30.5.1-pre.40.5.1-pre.50.5.1-pre.60.5.1-pre.70.5.1-pre.80.5.1-pre.90.5.1-pre.100.5.1-pre.110.5.1-pre.120.6.00.6.1-pre.00.6.1-pre.10.6.1-pre.20.6.1-pre.30.6.1-pre.40.6.1-pre.50.6.1-pre.60.6.1-pre.70.6.1-pre.80.6.1-pre.90.7.00.7.1-pre.00.7.1-pre.10.7.10.7.2-pre.00.7.2-pre.10.7.2-pre.20.7.2-pre.30.7.2-pre.40.7.2-pre.70.7.2-pre.80.7.2-pre.90.7.2-pre.100.7.2-pre.110.7.2-pre.120.7.2-pre.130.7.20.7.3-pre.00.7.3-pre.10.7.30.7.4-pre.00.7.4-pre.10.7.40.7.5-pre.00.7.5-pre.10.7.5-pre.20.7.5-pre.30.8.00.8.1-pre.00.8.1-pre.10.8.1-pre.2
/*
* Copyright 2018 Adobe. All rights reserved.
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
* OF ANY KIND, either express or implied. See the License for the specific language
* governing permissions and limitations under the License.
*/
function bail(logger, message, error) {
logger.error(message);
return { error: Object.assign({ message }, error) };
}
module.exports = {
bail,
};