mirror of
https://github.com/wasp-lang/wasp.git
synced 2024-12-18 22:51:40 +03:00
2345ce2b4f
Adds two new sections to docs as well.
9 lines
197 B
JavaScript
9 lines
197 B
JavaScript
export const errorMessage = (e) => {
|
|
return (
|
|
<span>
|
|
Error: {e.message}
|
|
{e.data?.message && <span style={{display: 'block'}}>Details: {e.data.message}</span>}
|
|
</span>
|
|
);
|
|
};
|