Test `inaccessible_callback` with a custom error code.