```\n// Ensure signature is supported\nif (uint8(signatureType) >= uint8(SignatureType.NSignatureTypes)) {\n    LibRichErrors.rrevert(LibExchangeRichErrors.SignatureError(\n        LibExchangeRichErrors.SignatureErrorCodes.UNSUPPORTED,\n        hash,\n        signerAddress,\n        signature\n    ));\n}\n```\n