core/core library

Core functionality exports for bloc_small package.

This barrel file exports all core components including:

  • Constants (loading keys)
  • Dependency injection setup
  • Error handling (handlers, states, exceptions)
  • Utilities (ReactiveSubject)

Classes

ErrorState
LoadingKey
ReactiveSubject<T>
A wrapper class for RxDart subjects that provides a simplified interface for reactive programming.

Mixins

BaseErrorHandlerMixin
Standardized error handling for Blocs and Cubits.

Exceptions / Errors

AppException
Base type for every exception this package defines.
AppTimeoutException
An operation exceeded its time budget.
DependencyRegistrationException
Raised when core dependency registration cannot be completed.
NetworkException
A network request failed.
ValidationException
Input failed validation.