Method: OpenAI::Model::Run#last_error

Defined in:
lib/openai/models/run.rb

#last_errorString | nil (readonly)

Returns The last error associated with this run. Will be null if there are no errors.

Returns:

  • (String | nil)

    The last error associated with this run. Will be null if there are no errors.



28
29
30
# File 'lib/openai/models/run.rb', line 28

def last_error
  @last_error
end