{"record":{"id":"affad16666a6b555","repo":"balderdashy/sails","slug":"e-failed-to-build-callable","errorCode":"E_FAILED_TO_BUILD_CALLABLE","errorMessage":"(rethrown original error) — wrapped with code E_FAILED_TO_BUILD_CALLABLE for helper `'+identity+'`","messagePattern":"\\(rethrown original error\\) — wrapped with code E_FAILED_TO_BUILD_CALLABLE for helper `'\\+identity\\+'`","errorType":"error_code","errorClass":null,"httpStatus":null,"severity":"error","filePath":"lib/hooks/helpers/private/load-helpers.js","lineNumber":99,"sourceCode":"            })\n          );\n          if (hasAnyConfusingExitProps) {\n            sails.log.warn(\n              'Ignoring unexpected property in one of the exits of the helper '+\n              'definition loaded from '+helperDef._loadedFrom+'.  Features like '+\n              '`responseType`, `viewTemplatePath`, and `statusCode` can only be '+\n              'used by actions, not by helpers!'\n            );\n          }\n\n          // Build & expose helper on `sails.helpers`\n          // > e.g. sails.helpers.userHelpers.foo.myHelper\n          sails.hooks.helpers.furnishHelper(keyPath, helperDef);\n        } catch (err) {\n          // If an error occurs building the callable, throw here to bust\n          // out of the _.each loop early\n          throw flaverr({\n            code: 'E_FAILED_TO_BUILD_CALLABLE',\n            identity: helperDef.identity,\n            loadedFrom: identity,\n            raw: err\n          }, err);\n        }\n      });//∞\n\n    } catch (err) {\n\n      // Handle any errors building Callables for our helpers by sending the\n      // errors through the hook callback, which will cause Sails to halt lifting.\n      if (flaverr.taste('E_FAILED_TO_BUILD_CALLABLE', err)) {\n        return done(flaverr({\n          message: 'Failed to load helper `' + err.loadedFrom +'` into a Callable!  '+err.message\n        }, err));\n      } else {\n        return done(err);\n      }","sourceCodeStart":81,"sourceCodeEnd":117,"githubUrl":"https://github.com/balderdashy/sails/blob/7b76422cc27823df033572bdda5c4910a68b697f/lib/hooks/helpers/private/load-helpers.js#L81-L117","documentation":"Error \"(rethrown original error) — wrapped with code E_FAILED_TO_BUILD_CALLABLE for helper `'+identity+'`\" thrown in balderdashy/sails.","triggerScenarios":"Thrown at lib/hooks/helpers/private/load-helpers.js:99 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"7b76422cc27823df033572bdda5c4910a68b697f","analyzedAt":"2026-09-01T04:01:57.104Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-08T10:18:20.063Z"}