Class: DaytonaToolboxApiClient::DaemonErrorCode
- Inherits:
-
Object
- Object
- DaytonaToolboxApiClient::DaemonErrorCode
- Defined in:
- lib/daytona_toolbox_api_client/models/daemon_error_code.rb
Constant Summary collapse
- CodeGitAuthFailed =
"GIT_AUTH_FAILED".freeze
- CodeGitRepoNotFound =
"GIT_REPO_NOT_FOUND".freeze
- CodeGitBranchNotFound =
"GIT_BRANCH_NOT_FOUND".freeze
- CodeGitBranchExists =
"GIT_BRANCH_EXISTS".freeze
- CodeGitPushRejected =
"GIT_PUSH_REJECTED".freeze
- CodeGitDirtyWorktree =
"GIT_DIRTY_WORKTREE".freeze
- CodeGitMergeConflict =
"GIT_MERGE_CONFLICT".freeze
- CodeFileNotFound =
"FILE_NOT_FOUND".freeze
- CodeFileAccessDenied =
"FILE_ACCESS_DENIED".freeze
- CodeLspServerNotInitialized =
"LSP_SERVER_NOT_INITIALIZED".freeze
- CodeProcessExecutionTimeout =
"PROCESS_EXECUTION_TIMEOUT".freeze
- CodeProcessNotFound =
"PROCESS_NOT_FOUND".freeze
- CodeSessionEnded =
"SESSION_ENDED".freeze
- CodeCommandAlreadyCompleted =
"COMMAND_ALREADY_COMPLETED".freeze
"A11Y_UNAVAILABLE".freeze
- CodeRecordingStillActive =
"RECORDING_STILL_ACTIVE".freeze
- CodeRecordingFfmpegNotFound =
"RECORDING_FFMPEG_NOT_FOUND".freeze
- CodeBadRequest =
"BAD_REQUEST".freeze
- CodeInvalidRequestBody =
"INVALID_REQUEST_BODY".freeze
"UNAUTHORIZED".freeze
- CodeForbidden =
"FORBIDDEN".freeze
- CodeNotFound =
"NOT_FOUND".freeze
- CodeConflict =
"CONFLICT".freeze
- CodeRequestTimeout =
"REQUEST_TIMEOUT".freeze
- CodeGone =
"GONE".freeze
- CodeUnprocessableEntity =
"UNPROCESSABLE_ENTITY".freeze
- CodeInternalServerError =
"INTERNAL_SERVER_ERROR".freeze
- UNKNOWN_DEFAULT_OPEN_API =
"unknown_default_open_api".freeze
Class Method Summary collapse
- .all_vars ⇒ Object
-
.build_from_hash(value) ⇒ String
Builds the enum from string.
Instance Method Summary collapse
-
#build_from_hash(value) ⇒ String
Builds the enum from string.
Class Method Details
.all_vars ⇒ Object
47 48 49 |
# File 'lib/daytona_toolbox_api_client/models/daemon_error_code.rb', line 47 def self.all_vars @all_vars ||= [CodeGitAuthFailed, CodeGitRepoNotFound, CodeGitBranchNotFound, CodeGitBranchExists, CodeGitPushRejected, CodeGitDirtyWorktree, CodeGitMergeConflict, CodeFileNotFound, CodeFileAccessDenied, CodeLspServerNotInitialized, CodeProcessExecutionTimeout, CodeProcessNotFound, CodeSessionEnded, CodeCommandAlreadyCompleted, CodeA11yUnavailable, CodeRecordingStillActive, CodeRecordingFfmpegNotFound, CodeBadRequest, CodeInvalidRequestBody, CodeUnauthorized, CodeForbidden, CodeNotFound, CodeConflict, CodeRequestTimeout, CodeGone, CodeUnprocessableEntity, CodeInternalServerError, UNKNOWN_DEFAULT_OPEN_API].freeze end |
.build_from_hash(value) ⇒ String
Builds the enum from string
54 55 56 |
# File 'lib/daytona_toolbox_api_client/models/daemon_error_code.rb', line 54 def self.build_from_hash(value) new.build_from_hash(value) end |
Instance Method Details
#build_from_hash(value) ⇒ String
Builds the enum from string
61 62 63 64 |
# File 'lib/daytona_toolbox_api_client/models/daemon_error_code.rb', line 61 def build_from_hash(value) return value if DaemonErrorCode.all_vars.include?(value) UNKNOWN_DEFAULT_OPEN_API end |