{"record":{"id":"fa697f51341fb34c","repo":"hpyhacking/peatio","slug":"you-specified-knownhelpersonly-but-used-the-unkno","errorCode":null,"errorMessage":"You specified knownHelpersOnly, but used the unknown helper {}","messagePattern":"You specified knownHelpersOnly, but used the unknown helper (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"app/assets/javascripts/swagger-ui/lib/handlebars-1.0.0.js","lineNumber":1158,"sourceCode":"      this.ID(id);\n    } else {\n      // Simplified ID for `this`\n      this.addDepth(id.depth);\n      this.opcode('getContext', id.depth);\n      this.opcode('pushContext');\n    }\n\n    this.opcode('resolvePossibleLambda');\n  },\n\n  helperMustache: function(mustache, program, inverse) {\n    var params = this.setupFullMustacheParams(mustache, program, inverse),\n        name = mustache.id.parts[0];\n\n    if (this.options.knownHelpers[name]) {\n      this.opcode('invokeKnownHelper', params.length, name);\n    } else if (this.options.knownHelpersOnly) {\n      throw new Error(\"You specified knownHelpersOnly, but used the unknown helper \" + name);\n    } else {\n      this.opcode('invokeHelper', params.length, name);\n    }\n  },\n\n  ID: function(id) {\n    this.addDepth(id.depth);\n    this.opcode('getContext', id.depth);\n\n    var name = id.parts[0];\n    if (!name) {\n      this.opcode('pushContext');\n    } else {\n      this.opcode('lookupOnContext', id.parts[0]);\n    }\n\n    for(var i=1, l=id.parts.length; i<l; i++) {\n      this.opcode('lookup', id.parts[i]);","sourceCodeStart":1140,"sourceCodeEnd":1176,"githubUrl":"https://github.com/hpyhacking/peatio/blob/dab8641137c008928c835409342519bfef4eae7f/app/assets/javascripts/swagger-ui/lib/handlebars-1.0.0.js#L1140-L1176","documentation":"Error \"You specified knownHelpersOnly, but used the unknown helper {}\" thrown in hpyhacking/peatio.","triggerScenarios":"Thrown at app/assets/javascripts/swagger-ui/lib/handlebars-1.0.0.js:1158 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Register the helper in the knownHelpers map when compiling with knownHelpersOnly, or remove the knownHelpersOnly option."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"dab8641137c008928c835409342519bfef4eae7f","analyzedAt":"2026-08-23T09:59:18.005Z","schemaVersion":2},"datasetVersion":"2026-08-23T13:39:53.451Z"}