parent_function_error: Parent error function constructor
Description
Creates a function that raises an error that is assigned to the function in
which the error was originally seen. Useful to prevent big repetitive
gtfsio_error() calls in the "main" functions.