DegiroApiError class

The error class of degiro_api. Every error occured into degiro_api will be processed as DegiroApiError

Fields description:

  • 'message': the error message, can be customized.
  • 'code': the response API status code if we did a request, otherwise is null.
  • 'exception': the full exception of the root error.
Implemented types

Constructors

DegiroApiError({required String message, int? code, Exception? exception})
  • message: the error message, can be customized.
  • code: the response API status code if we did a request, otherwise is null.
  • exception: the full exception of the root error.
  • Properties

    code int?
    final
    exception Exception?
    final
    hashCode int
    The hash code for this object.
    no setterinherited
    message String
    no setter
    methodName String
    getter/setter pair
    runtimeType Type
    A representation of the runtime type of the object.
    no setterinherited

    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