# Functions

AddErrorEndSpan will end `span` and adds `err` to `span` iff err is not nil.