There are two types of errors when loading an Atlas.
- The .atlas file is broken, e.g. has incorrect syntax. We assume it is not, as it is exported from the Spine Editor, which takes care of correctness of the .atlas file.
- The customizable AttachmentLoader fails to load the image file associated with an atlas page.
For case 2, the Atlas has no way to decide if the loader was successful or not. If you use a custom attachment loader, error handling can be done in that loader. In other runtimes, we also have custom AttachmentLoader's that use the engine's texture loading and error reporting functionality.