error_chain! {
types { }
links { }
foreign_links { }
errors {
ConstructEventNotPassedEnvironment {
description("The object passed to the construct event cannot be cast into an 'Environment'.")
display(
"{}",
"The object passed to the construct event cannot be cast into an 'Environment'."
)
}
}
}