sonefunction().catch(err) Used primarily for functions that might cause an error. Like connecting to a database.