AscApiException class
A non-2xx answer from App Store Connect, carrying Apple's own explanation.
- Implemented types
Constructors
-
AscApiException(int status, List<
String> details, {required String request})
Properties
-
details
→ List<
String> -
One entry per
errors[]element, already flattened to readable text. Empty when the body was not the JSON:API error shape — a gateway error, say — in which case status is all there is.final - hashCode → int
-
The hash code for this object.
no setterinherited
- request → String
-
Method and path, so a failure names what it was doing.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → int
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
guidanceFor(
List< String> details) → String? - What to do about an error whose own text does not say.