class Di::AmbiguousServiceError

Overview

Raised when multiple implementations of the same interface are registered and an unambiguous resolution is requested.

Defined in:

di/errors.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(interface_type : String, implementations : Array(String)) #

[View source]

Instance Method Detail

def implementations : Array(String) #

[View source]
def interface_type : String #

[View source]