Typeberry by Fluffy Labs - v0.4.0
    Preparing search index...

    Class ErrorsCollector

    Attempt to invoke assertions and catch any errors.

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    errors: { context: string[]; e: unknown }[] = []

    Methods

    • Execute the closure and catch any errors that may occur.

      Parameters

      • cb: () => void
      • context: string[]

      Returns void