mirror of
https://gitlab.com/gitlab-org/gitlab-foss.git
synced 2025-08-03 16:04:30 +00:00
26 lines
1.2 KiB
Ruby
26 lines
1.2 KiB
Ruby
# frozen_string_literal: true
|
|
|
|
module WebIde
|
|
module Settings
|
|
# This module contains all messages for the Web IDE Settings sub-domain, both errors and domain events.
|
|
# Note that we intentionally have not DRY'd up the declaration of the subclasses with loops and
|
|
# metaprogramming, because we want the types to be easily indexable and navigable within IDEs.
|
|
module Messages
|
|
#---------------------------------------------------------------
|
|
# Errors - message name should describe the reason for the error
|
|
#---------------------------------------------------------------
|
|
|
|
SettingsCurrentSettingsReadFailed = Class.new(Gitlab::Fp::Message)
|
|
SettingsEnvironmentVariableOverrideFailed = Class.new(Gitlab::Fp::Message)
|
|
SettingsVscodeExtensionMarketplaceValidationFailed = Class.new(Gitlab::Fp::Message)
|
|
SettingsVscodeExtensionMarketplaceMetadataValidationFailed = Class.new(Gitlab::Fp::Message)
|
|
|
|
#---------------------------------------------------------
|
|
# Domain Events - message name should describe the outcome
|
|
#---------------------------------------------------------
|
|
|
|
SettingsGetSuccessful = Class.new(Gitlab::Fp::Message)
|
|
end
|
|
end
|
|
end
|