A function that takes something in input and return an error with a status code.