Cucumber.UndefinedParameterTypeError exception (Cucumber v1.0.0)

View Source

Raised when a step pattern references a parameter type that is neither a built-in nor a registered custom type (see Cucumber.ParameterTypes).

During discovery, step definitions with undefined parameter types are excluded from the registry with a warning — steps that would have matched them fail as undefined, mirroring reference Cucumber implementations. This exception surfaces when such a pattern is compiled directly via Cucumber.Expression.compile/2.

Summary

Types

t()

@type t() :: %Cucumber.UndefinedParameterTypeError{
  __exception__: term(),
  message: String.t(),
  pattern: String.t() | nil,
  type_name: String.t()
}