repo_description: A little router.
repo_topics: api cloudflare cloudflare-workers edge itty-router javascript middleware router serverless service-worker
code: interface ErrorLike extends Error {
    status?: number
    [any: string]: any
  }
  
  type ErrorBody = string | object
  
  export interface ErrorFormatter {
    (statusCode?: number, body?: ErrorBody): Response
    (error: ErrorLike): Response
  }
  