Barnaby Keene

Results 262 comments of Barnaby Keene

One of the main reasons I wanted to keep the wrappers separate was to emphasise that Fault itself is standalone and the real value it provides is the `func (error)...

Funnily enough one of the main motivations for building Fault was `sql.ErrNoRows` breaking some rules around error handling. _short history note..._ Basically, by using that type in error checks, we're...

If this function is never used, the consumer is not using the API so this warning is valid.

Shouldn't be too hard, I'll try and get this in the next update, thanks!

This is outdated now, errctx doesn't exist!

Also, keep in mind if you're always using a specific set of decorators, you can easily build a helper: ```go func WrapWithDefaults(err error, ctx context.Context, message string) error { return...

Okay that got rid of the wall of errors, I'm still left with: ``` In file included from /root/src/natives.hpp:16:0, from /root/src/main.cpp:15: /root/src/natives.hpp: In static member function 'static cell uuid::Native_uuid_UUID::Call(AMX*, cell*)':...

Latest commit resulted in more errors: ``` In file included from /root/src/plugin-natives/NativeFunc.hpp:6:0, from /root/src/natives.hpp:16, from /root/src/natives.cpp:10: /root/src/plugin-natives/NativeImport.hpp:121:36: warning: 'PAWN_NATIVE_uuid_UUID' initialized and declared 'extern' #define PAWN_NATIVE__TOKENISE(a,b) PAWN_NATIVE__DEFER(PAWN_NATIVE__TOKENISE_, (a,b)) ^ /root/src/plugin-natives/NativeImport.hpp:192:38: note:...

It's mostly unrelated to sampctl, the compiler itself has a list of places to search for includes and if two includes in any of those locations have the same name,...