Utility function to generate game errors identified by a code
Original error object
Extra information to replace inside the error object
Game error
Generated using TypeDoc
Utility function to generate game errors identified by a code