State when throws an error
factory RestState.error({ required String message, required String humanMessage, }) = ErrorRestState;