Richard Schneeman on Nostr: npub1ay2eq…gyhap that error is more of a developer error than a user error. As a ...
npub1ay2eq5lxqmr70k0aklueqtgf8ttky6e85umtw4lctrshrg0stu3qkgyhap (npub1ay2…yhap) that error is more of a developer error than a user error. As a matter of principal I feel developer ergonomics around errors should be as cared for as user errors.
Also the builpack.toml and internals could accidentally diverge and allow that invalid state to happen. This specific example might be not that common but if it happens I want the error to be clear.
The other example I gave is more likely to occur.
Published at
2024-11-02 01:31:26Event JSON
{
"id": "e4930efff17279ecf1b5ebb3939333cb8915abf4ab4d7142dc88b98359ff25a9",
"pubkey": "5c931aab4bd50aef18e4fd6a257cb53bb70fee015066bea9102ac27a8e230f5c",
"created_at": 1730511086,
"kind": 1,
"tags": [
[
"p",
"e9159053e606c7e7d9fdb7f9902d093ad7626b27a736b757f858e171a1f05f22",
"wss://relay.mostr.pub"
],
[
"p",
"26b7594cf3efcd363b570b016cb848499f8807df1268c6cbe6f8c2b097ff4c9b",
"wss://relay.mostr.pub"
],
[
"e",
"8a56f9c64a302ca2d95a88f476b75cd2fc281b05daee7ffc7867507256711d8b",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://ruby.social/users/Schneems/statuses/113410774595842472",
"activitypub"
]
],
"content": "nostr:npub1ay2eq5lxqmr70k0aklueqtgf8ttky6e85umtw4lctrshrg0stu3qkgyhap that error is more of a developer error than a user error. As a matter of principal I feel developer ergonomics around errors should be as cared for as user errors.\n\nAlso the builpack.toml and internals could accidentally diverge and allow that invalid state to happen. This specific example might be not that common but if it happens I want the error to be clear.\n\nThe other example I gave is more likely to occur.",
"sig": "b3f0adadab7bbc9ff4870182f7f15f7e36faf0dd213351c769017b85815b6c46206630e1d7b6a0cdb751dc1c49aaa9e2dde8f763a966cdd994918b0ae7875283"
}