Home / Function/ appendError() — supabase Function Reference

appendError() — supabase Function Reference

Architecture documentation for the appendError() function in utils.ts from the supabase codebase.

Entity Profile

Dependency Diagram

graph TD
  6b6adaac_18fc_5147_3872_082ddf2861ce["appendError()"]
  b7f20a45_239b_a374_668f_7b4e0ac14799["transposeArray()"]
  b7f20a45_239b_a374_668f_7b4e0ac14799 -->|calls| 6b6adaac_18fc_5147_3872_082ddf2861ce
  84384790_01b6_e631_0028_dbfb92612ec2["handleErrorCodeUploadErrors()"]
  84384790_01b6_e631_0028_dbfb92612ec2 -->|calls| 6b6adaac_18fc_5147_3872_082ddf2861ce
  46d218d1_4c2d_c813_f0c6_3dc0d7dce1f0["walkMdxFiles()"]
  46d218d1_4c2d_c813_f0c6_3dc0d7dce1f0 -->|calls| 6b6adaac_18fc_5147_3872_082ddf2861ce
  cb5b1bc9_56b5_9240_6bd2_f1b8c5f0e6a7["loadGuides()"]
  cb5b1bc9_56b5_9240_6bd2_f1b8c5f0e6a7 -->|calls| 6b6adaac_18fc_5147_3872_082ddf2861ce
  style 6b6adaac_18fc_5147_3872_082ddf2861ce fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/docs/app/api/utils.ts lines 90–94

  appendError(message: string, error: ErrorType): this {
    this.message = `${this.message}\n\t${message}`
    ;((this.cause ??= []) as Array<ErrorType>).push(error)
    return this
  }

Subdomains

Frequently Asked Questions

What does appendError() do?
appendError() is a function in the supabase codebase.
What calls appendError()?
appendError() is called by 4 function(s): handleErrorCodeUploadErrors, loadGuides, transposeArray, walkMdxFiles.

Analyze Your Own Codebase

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

Try Supermodel Free