src/cli/error_handler.js
Function handler
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function handler(error, options = {}) {
return async(this, function* () {
let isError = error instanceof Error || error instanceof AzkError;
if (!isError) {
// no error type