Hevy SDK Documentation - v0.0.0
    Preparing search index...

    Class ValidationError

    Error thrown when validation with Zod fails.

    Hierarchy

    • Error
      • ValidationError
    Index

    Properties

    Methods

    Properties

    errors: string[]

    An array of formatted error messages from Zod validation.

    message: string

    The error message describing the validation error.

    Methods

    • Indicates whether the argument provided is a built-in Error instance or not.

      Parameters

      • error: unknown

      Returns error is Error