Skip to content

Class BSV::Network::Result::Error

Inherits: Object Includes: BSV::Network::Result::Predicates

Represents a failed outcome. Carries a human-readable message, a boolean retryable flag indicating whether the caller should retry, and optional metadata for structured protocol-specific details (e.g. arc_status).

Attributes

message [R]

Returns the value of attribute message.

metadata [R]

Returns the value of attribute metadata.

retryable [R]

Returns the value of attribute retryable.

Public Instance Methods

==(other)

Not documented.

error?()

  • @return [Boolean]

hash()

Not documented.

initialize(message:, retryable: = false, metadata: = {})

  • @return [Error] a new instance of Error

not_found?()

  • @return [Boolean]

retryable?()

  • @return [Boolean]

success?()

  • @return [Boolean]