Lamina.Error.NotAProviderModuleError exception (lamina v0.4.2)

The module does not implement the Lamina.Provider behaviour.

During startup, the Lamina server double checks that the providers it's been asked to use actually are Lamina.Provider modules and not just some other random module.

Some reasons you could be seeing this error:

  • You have misspelt the name of the module when using the provider macro in your configuration module (or you're missing an alias).
  • You are developing a provider and haven't fully implemented all the required callbacks.

Summary

Types

@type t() :: %Lamina.Error.NotAProviderModuleError{
  __exception__: true,
  module: module()
}