CorsError enum
The reason why request was blocked.
Values
- disallowedByMode → const CorsError
-
const CorsError('DisallowedByMode')
- invalidResponse → const CorsError
-
const CorsError('InvalidResponse')
- wildcardOriginNotAllowed → const CorsError
-
const CorsError('WildcardOriginNotAllowed')
- missingAllowOriginHeader → const CorsError
-
const CorsError('MissingAllowOriginHeader')
- multipleAllowOriginValues → const CorsError
-
const CorsError('MultipleAllowOriginValues')
- invalidAllowOriginValue → const CorsError
-
const CorsError('InvalidAllowOriginValue')
- allowOriginMismatch → const CorsError
-
const CorsError('AllowOriginMismatch')
- invalidAllowCredentials → const CorsError
-
const CorsError('InvalidAllowCredentials')
- corsDisabledScheme → const CorsError
-
const CorsError('CorsDisabledScheme')
- preflightInvalidStatus → const CorsError
-
const CorsError('PreflightInvalidStatus')
- preflightDisallowedRedirect → const CorsError
-
const CorsError('PreflightDisallowedRedirect')
- preflightWildcardOriginNotAllowed → const CorsError
-
const CorsError('PreflightWildcardOriginNotAllowed')
- preflightMissingAllowOriginHeader → const CorsError
-
const CorsError('PreflightMissingAllowOriginHeader')
- preflightMultipleAllowOriginValues → const CorsError
-
const CorsError('PreflightMultipleAllowOriginValues')
- preflightInvalidAllowOriginValue → const CorsError
-
const CorsError('PreflightInvalidAllowOriginValue')
- preflightAllowOriginMismatch → const CorsError
-
const CorsError('PreflightAllowOriginMismatch')
- preflightInvalidAllowCredentials → const CorsError
-
const CorsError('PreflightInvalidAllowCredentials')
- preflightMissingAllowExternal → const CorsError
-
const CorsError('PreflightMissingAllowExternal')
- preflightInvalidAllowExternal → const CorsError
-
const CorsError('PreflightInvalidAllowExternal')
- preflightMissingAllowPrivateNetwork → const CorsError
-
const CorsError('PreflightMissingAllowPrivateNetwork')
- preflightInvalidAllowPrivateNetwork → const CorsError
-
const CorsError('PreflightInvalidAllowPrivateNetwork')
- invalidAllowMethodsPreflightResponse → const CorsError
-
const CorsError('InvalidAllowMethodsPreflightResponse')
- invalidAllowHeadersPreflightResponse → const CorsError
-
const CorsError('InvalidAllowHeadersPreflightResponse')
- methodDisallowedByPreflightResponse → const CorsError
-
const CorsError('MethodDisallowedByPreflightResponse')
- headerDisallowedByPreflightResponse → const CorsError
-
const CorsError('HeaderDisallowedByPreflightResponse')
- redirectContainsCredentials → const CorsError
-
const CorsError('RedirectContainsCredentials')
- insecurePrivateNetwork → const CorsError
-
const CorsError('InsecurePrivateNetwork')
- invalidPrivateNetworkAccess → const CorsError
-
const CorsError('InvalidPrivateNetworkAccess')
- unexpectedPrivateNetworkAccess → const CorsError
-
const CorsError('UnexpectedPrivateNetworkAccess')
- noCorsRedirectModeNotFollow → const CorsError
-
const CorsError('NoCorsRedirectModeNotFollow')
- preflightMissingPrivateNetworkAccessId → const CorsError
-
const CorsError('PreflightMissingPrivateNetworkAccessId')
- preflightMissingPrivateNetworkAccessName → const CorsError
-
const CorsError('PreflightMissingPrivateNetworkAccessName')
-
const CorsError('PrivateNetworkAccessPermissionUnavailable')
- privateNetworkAccessPermissionDenied → const CorsError
-
const CorsError('PrivateNetworkAccessPermissionDenied')
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited