Updated the error to 501 error code for custom

domain when _APP_DOMAIN and _APP_DOMAIN_TARGET is setup incorrectly
This commit is contained in:
Bhaskar Singh
2023-03-05 14:35:47 +05:30
parent e8c74d7204
commit eaf31fdb78
3 changed files with 7 additions and 1 deletions
+1
View File
@@ -177,6 +177,7 @@ class Exception extends \Exception
public const DOMAIN_NOT_FOUND = 'domain_not_found';
public const DOMAIN_ALREADY_EXISTS = 'domain_already_exists';
public const DOMAIN_VERIFICATION_FAILED = 'domain_verification_failed';
public const ENV_VARIABLE_INCORRECT_SETUP = 'env_variable_setup_incorrectly';
/** GraphqQL */
public const GRAPHQL_NO_QUERY = 'graphql_no_query';