{{newin|[[0.9.0]]|090|type=function|text=It has been renamed from [[PixelEffect:getWarnings]]}}

Returns any warning and error messages from compiling the shader code. This can be used for debugging your shaders if there's anything the graphics hardware doesn't like.

== Function ==
=== Synopsis ===
<source lang="lua">
warnings = Shader:getWarnings( )
</source>
=== Arguments ===
None.
=== Returns ===
{{param|string|warnings|Warning and error messages (if any).}}

== See Also ==
* [[parent::Shader]]
[[Category:Functions]]
{{#set:Description=Gets warning and error messages (if any).}}
== Other Languages ==
{{i18n|Shader:getWarnings}}