Skip to content

Commit

Permalink
errrs
Browse files Browse the repository at this point in the history
  • Loading branch information
gabriel-azion committed Mar 3, 2023
1 parent 4342e6d commit f255b64
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions messages/cache_settings/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ var (
ErrorMandatoryListFlags = errors.New("A Required flag is missing. You must provide the application-id flag. Run the command 'azioncli <command> <subcommand> --help' to display more information and try again.")

ErrorMandatoryCreateFlags = errors.New("Required flags are missing. You must provide the application-id and name flags when --in flag is not provided. Run the command 'azioncli <command> <subcommand> --help' to display more information and try again.")
ErrorMandatoryCreateFlagsIn = errors.New("Required flags are missing. You must provide the application-id flag when the --in flag is provided. Run the command 'azioncli <command> <subcommand> --help' to display more information and try again.")
ErrorMandatoryCreateFlagsIn = errors.New("A required flag is missing. You must provide the application-id flag when the --in flag is provided. Run the command 'azioncli <command> <subcommand> --help' to display more information and try again.")
ErrorCachingForOptionsFlag = errors.New("Invalid --enable-caching-for-options flag provided. The value must be either 'true' or 'false'. Run the command 'azioncli <command> <subcommand> --help' to display more information and try again.")
ErrorCachingForPostFlag = errors.New("Invalid --enable-caching-for-post flag provided. The value must be either 'true' or 'false'. Run the command 'azioncli <command> <subcommand> --help' to display more information and try again.")
ErrorCachingStringSortFlag = errors.New("Invalid --enable-caching-string-sort flag provided. The value must be either 'true' or 'false'. Run the command 'azioncli <command> <subcommand> --help' to display more information and try again.")
Expand All @@ -19,12 +19,12 @@ var (
ErrorL2CachingEnabledFlag = errors.New("Invalid --l2-caching-enabled flag provided. The value must be either 'true' or 'false'. Run the command 'azioncli <command> <subcommand> --help' to display more information and try again.")

ErrorCreateCacheSettings = errors.New("Failed to create the Cache Settings configuration: %s. Check your settings and try again. If the error persists, contact Azion support.")
ErrorBrowserMaximumTtlNotSent = errors.New("When browser cache settings is 'override' you must send the --browser-cache-settings-maximum-ttl flag")
ErrorApplicationAccelerationNotEnabled = errors.New("When --enable-caching-string-sort, --enable-caching-for-post or --enable-caching-for-options is sent, application acceleration must be enabled")
ErrorBrowserMaximumTtlNotSent = errors.New("When browser Cache Settings is 'override' you must inform the --browser-cache-settings-maximum-ttl flag.")
ErrorApplicationAccelerationNotEnabled = errors.New("When --enable-caching-string-sort, --enable-caching-for-post or --enable-caching-for-options is sent, application acceleration must be enabled.")

ErrorMissingArguments = errors.New("Required flags are missing. You must supply application-id and cache-settings-id as arguments. Run 'azioncli <command> <subcommand> --help' command to display more information and try again")
ErrorMissingArguments = errors.New("Required flags are missing. You must supply application-id and cache-settings-id as arguments. Run 'azioncli <command> <subcommand> --help' command to display more information and try again.")

ErrorFailToDelete = errors.New("Failed to delete the Cache settings: %s. Check your settings and try again. If the error persists, contact Azion support.")
ErrorFailToDelete = errors.New("Failed to delete the Cache Settings configuration: %s. Check your settings and try again. If the error persists, contact Azion support.")

ErrorMandatoryUpdateFlags = errors.New("Required flags are missing. You must provide the application-id and cache-settings-id flags when --in flag is not provided. Run the command 'azioncli <command> <subcommand> --help' to display more information and try again.")
ErrorMandatoryUpdateInFlags = errors.New("Required flags are missing. You must provide the application-id flag when --in flag is not provided. Run the command 'azioncli <command> <subcommand> --help' to display more information and try again.")
Expand Down

0 comments on commit f255b64

Please sign in to comment.