code: func (a errorMsgs) Last() *Error {
  	if length := len(a); length > 0 {
  		return a[length-1]
  	}
  	return nil
  }
docs: // Last returns the last error in the slice. It returns nil if the array is empty.
  // Shortcut for errors[len(errors)-1].