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
- 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
37 38 39 |
# File 'lib/daytona_toolbox_api_client/models/daemon_error_code.rb', line 37 def self.all_vars @all_vars ||= [CodeGitAuthFailed, CodeGitRepoNotFound, CodeGitBranchNotFound, CodeGitBranchExists, CodeGitPushRejected, CodeGitDirtyWorktree, CodeGitMergeConflict, CodeFileNotFound, CodeFileAccessDenied, CodeLspServerNotInitialized, CodeProcessExecutionTimeout, CodeProcessNotFound, CodeSessionEnded, CodeCommandAlreadyCompleted, CodeA11yUnavailable, CodeRecordingStillActive, CodeRecordingFfmpegNotFound, UNKNOWN_DEFAULT_OPEN_API].freeze end |
.build_from_hash(value) ⇒ String
Builds the enum from string
44 45 46 |
# File 'lib/daytona_toolbox_api_client/models/daemon_error_code.rb', line 44 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
51 52 53 54 |
# File 'lib/daytona_toolbox_api_client/models/daemon_error_code.rb', line 51 def build_from_hash(value) return value if DaemonErrorCode.all_vars.include?(value) UNKNOWN_DEFAULT_OPEN_API end |