Error Handling
Any throw from within the script is considered a failure.
If the script encounters any errors, the script may also add appropriate
strings to the errors key. The presence of any items in
the errors List is considered a creation failure.