Please use the following query parameters: throwIn, either render or getInitialProps to specify where to throw the error. clientSide, either true or false to specify if to throw on server or client side. errorType, either api_permission, api_state, api_unhandled or other to specify the error type.
Use the buttons below to throw your exception inside an event handler on client side.