I have a little problem with the error messages I receive from MetaMask. In my dApp I have a modifiers which should throw an error with an error message. However, in MetaMask I only receive the RPC error message:
"{code: -32603, message: "Error: Error: [ethjs-rpc] rpc error with payload {…VM Exception while processing transaction: revert"}"
Is it possible to extract the error in some other way? Also, could that be linked to the usage of inheritance? Because the modifiers are in a separate contract. To my knowledge, after compilation there should only be one contract (even if inheritance was used).
Thanks! :)