Add custom errors, and expose const strings