class

OpenAI::VectorStoreFileObjectLastErrorVariant1

Inherits JSON::Serializable < Reference < Object

The last error associated with this vector store file. Will be null if there are no errors.

Constructors

new(code : VectorStoreFileObjectLastErrorVariant1Code = VectorStoreFileObjectLastErrorVariant1Code::ServerError, message : String = "")
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

code

One of server_error, unsupported_file, or invalid_file.

Source
code=(code : VectorStoreFileObjectLastErrorVariant1Code)

One of server_error, unsupported_file, or invalid_file.

Source
message

A human-readable description of the error.

Source
message=(message : String)

A human-readable description of the error.

Source