Home / Function/ constructor() — supabase Function Reference

constructor() — supabase Function Reference

Architecture documentation for the constructor() function in errorModel.ts from the supabase codebase.

Entity Profile

Relationship Graph

Source Code

apps/docs/resources/error/errorModel.ts lines 37–55

  constructor({
    id,
    code,
    service,
    httpStatusCode,
    message,
  }: {
    id: string
    code: string
    service: Service
    httpStatusCode?: number
    message?: string
  }) {
    this.id = id
    this.code = code
    this.service = service
    this.httpStatusCode = httpStatusCode
    this.message = message
  }

Subdomains

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free