ServiceContainerException.registrationNotFound constructor

ServiceContainerException.registrationNotFound({
  1. required Type type,
  2. String? name,
})

Thrown when make is called for an unregistered service.

Implementation

ServiceContainerException.registrationNotFound({required this.type, this.name})
  : message =
        "No registration for type($type)${name != null ? ' with name($name)' : ''} in container or parent scopes";