AutoSettings.onError property

Signature:

onError?: (err: unknown) => void;