Dart API Referencedart:ioRedirectException

RedirectException class

class RedirectException extends HttpException {
  const RedirectException(String message,
                          List<RedirectInfo> this.redirects) : super(message);
  final List<RedirectInfo> redirects;
}

Extends

HttpException > RedirectException

Subclasses

RedirectLimitExceededException, RedirectLoopException

Constructors

const RedirectException(String message, List<RedirectInfo> redirects) #

const RedirectException(String message,
                        List<RedirectInfo> this.redirects) : super(message);

Properties

final String message #

inherited from HttpException
final String message;

final List<RedirectInfo> redirects #

final List<RedirectInfo> redirects;

Methods

String toString() #

inherited from HttpException

Returns a string representation of this object.

docs inherited from Object
String toString() => "HttpException: $message";