MCPcopy Create free account
hub / github.com/cloudflare/templates / constructor

Method constructor

cli/src/MarkdownError.ts:3–6  ·  view source on GitHub ↗
(message: string, markdown = message)

Source from the content-addressed store, hash-verified

1export default class MarkdownError extends Error {
2 public readonly markdown: string;
3 constructor(message: string, markdown = message) {
4 super(message);
5 this.markdown = markdown;
6 }
7}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected