# How to make a pop-up warning / error message?

**URL:** https://discourse.paraview.org/t/how-to-make-a-pop-up-warning-error-message/15828
**Category:** Development
**Created:** [December 3, 2024, 9:55am UTC](https://discourse.paraview.org/t/how-to-make-a-pop-up-warning-error-message/15828 "2024-12-03T09:55:00Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![joint](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/j/dc4da7/32.png) [@joint](https://discourse.paraview.org/u/joint)
#### Post date: [December 3, 2024, 9:55am UTC](https://discourse.paraview.org/t/how-to-make-a-pop-up-warning-error-message/15828/1 "2024-12-03T09:55:00Z")

</div>

Hello dear ParaView developers!

How can one pass errors from the custom client-side widgets to the user? For server-side there are vtk Error macros, however, they dont seem to work in the client side. What are the alternatives?

Thanks you a lot!

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [December 3, 2024, 9:56am UTC](https://discourse.paraview.org/t/how-to-make-a-pop-up-warning-error-message/15828/2 "2024-12-03T09:56:48Z")

</div>

you can use `qWarning` in pq classes, and vtkLogF everywhere else, but vtkErrorMacro should work in client code.

---

<div class="post-metadata">

### Author: ![joint](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/j/dc4da7/32.png) [@joint](https://discourse.paraview.org/u/joint)
#### Post date: [December 3, 2024, 10:32am UTC](https://discourse.paraview.org/t/how-to-make-a-pop-up-warning-error-message/15828/3 "2024-12-03T10:32:11Z")

</div>

Thank you Mathieu!  
you are as always fantastically fast and tremendously brilliant
