Exception: Browserctl::ProtocolMismatch

Inherits:
Error
  • Object
show all
Defined in:
lib/browserctl/errors.rb

Overview

Raised when a persisted artifact (bundle, recording, workflow, etc.) has a ‘version:` header that this build does not know how to read. The full error code taxonomy lands in WS-2 (PR #7); this class is a forward-reference stub so WS-1 PRs can already raise the canonical code.

Instance Attribute Summary

Attributes inherited from Error

#code, #context

Class Method Summary collapse

Methods inherited from Error

#initialize, #to_payload

Constructor Details

This class inherits a constructor from Browserctl::Error

Class Method Details

.default_codeObject



95
# File 'lib/browserctl/errors.rb', line 95

def self.default_code = Codes::PROTOCOL_MISMATCH end