first error returns null as opposed to throwing an error