error property

dynamic get error

Implementation

dynamic get error => switch (this) {
  ErrorStatus err => err.error,
  _ => null
};