# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. # typed: true # frozen_string_literal: true module SpeakeasyClientSDK module Shared # The `Status` type defines a logical error model class Error < ::SpeakeasyClientSDK::Utils::FieldAugmented extend T::Sig # A developer-facing error message. field :message, ::String, { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('message') } } # The HTTP status code field :status_code, ::Integer, { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('status_code') } } sig { params(message: ::String, status_code: ::Integer).void } def initialize(message: nil, status_code: nil) @message = message @status_code = status_code end end end end