<feed xmlns='http://www.w3.org/2005/Atom'>
<title>pakakeh.go/lib/errors/errors.go, branch dev</title>
<subtitle>Collections of packages and tools for working with Go programming language.</subtitle>
<id>http://git.kilabit.info/pakakeh.go/atom?h=dev</id>
<link rel='self' href='http://git.kilabit.info/pakakeh.go/atom?h=dev'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/'/>
<updated>2025-01-22T18:52:09Z</updated>
<entry>
<title>all: replace "interface{}" with "any"</title>
<updated>2025-01-22T18:52:09Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2025-01-22T18:52:09Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=605d847b236dde031a2e387e74298d66a27b5e0a'/>
<id>urn:sha1:605d847b236dde031a2e387e74298d66a27b5e0a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>lib/errors: implement method Is</title>
<updated>2023-09-11T05:35:38Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-09-11T05:35:38Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=a54854d80e96a94156d702379032a25e85a67914'/>
<id>urn:sha1:a54854d80e96a94156d702379032a25e85a67914</id>
<content type='text'>
The Is method will return true if the target error is instance of *E
and the value of field Code and Name match with values in e.
</content>
</entry>
<entry>
<title>lib/errors: realign struct E</title>
<updated>2023-09-10T19:16:52Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-09-10T14:22:22Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=47b3910e4126553f7dedad16db1f94d0f9848ded'/>
<id>urn:sha1:47b3910e4126553f7dedad16db1f94d0f9848ded</id>
<content type='text'>
This reduce the struct size from 56 to 40 bytes (-16 bytes).
</content>
</entry>
<entry>
<title>all: reformat all codes using gofmt 1.19 (the Go tip)</title>
<updated>2022-05-09T14:54:02Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2022-05-09T14:54:02Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=0c9abc1a962955dd0b795a422958c5445145d54c'/>
<id>urn:sha1:0c9abc1a962955dd0b795a422958c5445145d54c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>lib/errrors: implement method As</title>
<updated>2021-08-06T13:02:18Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2021-08-06T13:02:18Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=daa6c7dc238bcdd2026441d559ad7f130c5056e0'/>
<id>urn:sha1:daa6c7dc238bcdd2026441d559ad7f130c5056e0</id>
<content type='text'>
The As method will set the target to instance of E only if only target
is **E.
</content>
</entry>
<entry>
<title>Revert "lib/errors: return the internal error only if its not nil on Unwrap"</title>
<updated>2021-08-06T11:50:20Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2021-08-06T11:50:20Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=5024d1c078f9eea37a7cbcb744b9b5ab7acfb127'/>
<id>urn:sha1:5024d1c078f9eea37a7cbcb744b9b5ab7acfb127</id>
<content type='text'>
This reverts commit 8379a3ac6385e811410ec512b414655926163c8d.
</content>
</entry>
<entry>
<title>lib/errors: return the internal error only if its not nil on Unwrap</title>
<updated>2021-07-30T11:42:15Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2021-07-30T11:42:15Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=8379a3ac6385e811410ec512b414655926163c8d'/>
<id>urn:sha1:8379a3ac6385e811410ec512b414655926163c8d</id>
<content type='text'>
If the internal error is nil, the Unwrap method will return the instance
of e itself.
</content>
</entry>
<entry>
<title>errors: add field Name and err</title>
<updated>2019-12-23T09:47:49Z</updated>
<author>
<name>Shulhan</name>
<email>m.shulhan@gmail.com</email>
</author>
<published>2019-12-23T09:29:51Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=3762921fbd28e9e11117a54c5a2aa1fe24d0f2b5'/>
<id>urn:sha1:3762921fbd28e9e11117a54c5a2aa1fe24d0f2b5</id>
<content type='text'>
The field Name is optional, intended to be consumed by program, for
example, to provide a key as translation of Message into user's locale
defined language.

The err field is the underlying error.
</content>
</entry>
<entry>
<title>lib/errors: new package for handling error with status code</title>
<updated>2018-12-17T08:24:21Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2018-12-17T08:24:21Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=0612b6994c3bead0f779876919dde7af64366680'/>
<id>urn:sha1:0612b6994c3bead0f779876919dde7af64366680</id>
<content type='text'>
</content>
</entry>
</feed>
