Create an expected error.
created expected error
type of the expected error
type of the expected value
the expected error