R.I.Pienaar
76ab1b8d17
attempt to improve UX of the error system
...
Previously we had a few confusing functions like NewT
and similar that were quite fragile to use due to minimal
validation and a panic in go stdlib string Replacer.
Now we generate helper methods for every string, these
are used to access errors, fill in templates and conditional
returns of error type using the new Unless() option
We now get compile time errors for some common mistakes
and have better IDE helpers for arguments etc
Signed-off-by: R.I.Pienaar <rip@devco.net >
2021-08-10 16:08:28 +02:00
..
2021-07-19 11:42:28 -04:00
2021-06-06 11:13:32 -07:00
2020-05-19 14:15:11 -07:00
2021-07-22 11:27:34 -04:00
2021-07-26 07:57:10 -07:00
2021-04-09 15:18:06 -07:00
2021-07-07 17:43:50 -04:00
2021-07-07 17:43:50 -04:00
2021-08-07 16:58:25 -07:00
2020-05-29 17:56:45 -07:00
2021-05-26 15:04:05 -07:00
2021-08-07 14:38:11 -07:00
2021-08-10 16:08:28 +02:00
2021-04-28 19:28:00 -06:00
2021-05-19 14:46:07 -07:00
2020-10-31 12:56:27 -07:00
2021-05-19 14:46:07 -07:00
2021-08-10 16:08:28 +02:00
2021-05-26 08:04:50 +02:00
2021-07-27 14:05:25 -07:00
2021-07-26 07:57:10 -07:00
2021-08-01 14:57:47 -07:00
2021-08-06 14:44:00 -07:00
2021-08-06 14:44:00 -07:00
2021-07-23 10:19:07 +01:00
2021-05-04 20:48:14 -06:00
2021-07-26 07:57:10 -07:00
2021-08-10 16:08:28 +02:00
2021-08-07 16:58:25 -07:00
2021-08-10 16:08:28 +02:00
2021-08-10 16:08:28 +02:00
2021-08-10 16:08:28 +02:00
2021-08-10 16:08:28 +02:00
2021-05-07 19:35:46 +02:00
2021-08-10 06:46:48 -07:00
2021-08-10 16:08:28 +02:00
2021-05-06 18:46:32 -06:00
2021-07-01 19:00:52 -04:00
2021-07-27 18:42:19 -04:00
2021-08-04 07:07:29 -07:00
2021-04-07 11:09:47 -07:00
2021-01-14 01:14:52 -08:00
2021-01-14 01:14:52 -08:00
2021-08-04 14:20:52 -07:00
2021-05-03 18:43:07 -07:00
2021-06-12 10:27:43 -07:00
2021-06-08 15:03:12 -06:00
2021-08-10 16:08:28 +02:00
2021-04-07 11:09:47 -07:00
2021-01-26 17:49:58 -05:00
2021-08-09 20:13:17 -07:00
2021-07-28 12:40:48 -06:00
2021-08-04 16:33:21 -06:00
2021-08-04 16:33:21 -06:00
2021-01-26 15:33:39 -07:00
2021-07-07 17:43:50 -04:00
2020-06-12 10:03:47 -06:00
2021-07-26 07:57:10 -07:00
2021-06-21 14:03:42 -06:00
2021-08-01 14:57:47 -07:00
2020-03-23 12:25:51 -04:00
2021-08-01 14:57:47 -07:00
2021-08-04 16:33:21 -06:00
2021-07-01 14:29:09 -07:00
2021-05-05 13:17:53 -06:00
2021-08-04 16:54:31 -06:00
2021-04-20 11:45:08 -07:00
2021-04-07 11:09:47 -07:00
2021-04-12 10:17:13 -07:00
2021-07-28 12:49:02 -07:00
2021-08-10 16:08:28 +02:00
2021-01-28 17:43:22 -07:00
2021-07-22 18:53:06 -04:00
2021-05-26 08:04:50 +02:00
2021-04-07 11:09:47 -07:00
2020-05-19 14:16:03 -07:00
2020-08-14 13:37:59 -04:00
2021-06-21 11:09:19 -06:00
2021-06-21 11:09:19 -06:00