Fixed indentation
Native error handling