Handle redirects and error / info reporting.
Redirect the connection and report errors / info
Redirect the connection and report errors / info.
If you are using Phoenix, the error / info messages will be displayed on the screen - using Phoenix flash. If you are not using Phoenix, these messages will be stored in private.openmaize_info in the conn struct.
private.openmaize_info