Please just return an error result with an appropriate message as is done in other gateways. This file - and especially using error codes like this  - should not be necessary.