Package com.anthropic.models.messages
Class CodeExecutionToolResultErrorParam
-
- All Implemented Interfaces:
public final class CodeExecutionToolResultErrorParam
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classCodeExecutionToolResultErrorParam.BuilderA builder for CodeExecutionToolResultErrorParam.
-
Method Summary
Modifier and Type Method Description final CodeExecutionToolResultErrorCodeerrorCode()final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("code_execution_tool_result_error")final JsonField<CodeExecutionToolResultErrorCode>_errorCode()Returns the raw JSON value of errorCode. final Map<String, JsonValue>_additionalProperties()final CodeExecutionToolResultErrorParam.BuildertoBuilder()final CodeExecutionToolResultErrorParamvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static CodeExecutionToolResultErrorParam.Builderbuilder()Returns a mutable builder for constructing an instance of CodeExecutionToolResultErrorParam. -
-
Method Detail
-
errorCode
final CodeExecutionToolResultErrorCode errorCode()
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("code_execution_tool_result_error")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_errorCode
final JsonField<CodeExecutionToolResultErrorCode> _errorCode()
Returns the raw JSON value of errorCode.
Unlike errorCode, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final CodeExecutionToolResultErrorParam.Builder toBuilder()
-
validate
final CodeExecutionToolResultErrorParam validate()
-
builder
final static CodeExecutionToolResultErrorParam.Builder builder()
Returns a mutable builder for constructing an instance of CodeExecutionToolResultErrorParam.
The following fields are required:
.errorCode()
-
-
-
-