Help with Background Loading

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Help me please

Hi!
I am trying to make background loading by seeing this document

I want to know what will be body of this function [It is not mentioned there]

show_error()

I have no idea about it.
Thanks!

:bust_in_silhouette: Reply From: Wakatta

Nice find and it can be whatever your debugging code is setup to be. A couple of examples below

func show_error(err = ""):
    print(err)

Or

func show_error(err = ""):
    $Label.text = err

Or

func show_error(err = ""):
    push_error(err)

Or completely ignored

func show_error():
    pass