Class: Imagekitio::Models::VideoTransformationErrorEvent::Data::Transformation::Error

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/imagekitio/models/video_transformation_error_event.rb,
sig/imagekitio/models/video_transformation_error_event.rbs

Overview

See Also:

  • Imagekitio::Models::VideoTransformationErrorEvent::Data::Transformation#error

Defined Under Namespace

Modules: Reason

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(reason:) ⇒ Object

Some parameter documentations has been truncated, see Imagekitio::Models::VideoTransformationErrorEvent::Data::Transformation::Error for more details.

Details about the transformation error.

Parameters:



# File 'lib/imagekitio/models/video_transformation_error_event.rb', line 141

Instance Attribute Details

#reasonSymbol, Imagekitio::Models::VideoTransformationErrorEvent::Data::Transformation::Error::Reason

Specific reason for the transformation failure:

  • encoding_failed: Error during video encoding process
  • download_failed: Could not download source video
  • internal_server_error: Unexpected server error

Parameters:

  • value (Imagekitio::Models::VideoTransformationErrorEvent::Data::Transformation::Error::reason)

Returns:



138
139
# File 'lib/imagekitio/models/video_transformation_error_event.rb', line 138

required :reason,
enum: -> { Imagekitio::VideoTransformationErrorEvent::Data::Transformation::Error::Reason }

Instance Method Details

#to_hash{

Returns:

  • ({)


138
# File 'sig/imagekitio/models/video_transformation_error_event.rbs', line 138

def to_hash: -> {