Initialize code and message in GsxError