Update OnLoad.php

Example of error options for additional actions