Lbryinc errors #85

Merged
anbsky merged 5 commits from lbryinc-errors into master 2021-02-22 18:38:00 +01:00
anbsky commented 2021-02-16 12:30:55 +01:00 (Migrated from github.com)

Need to be able to tell connectivity errors from API errors — right now they're all lumped together, which doesn't look good on the SLI graph.

Need to be able to tell connectivity errors from API errors — right now they're all lumped together, which doesn't look good on the SLI graph.
nikooo777 (Migrated from github.com) reviewed 2021-02-16 19:17:29 +01:00
@ -30,1 +27,4 @@
lbrycrdMain: {lbrycrdMainPubkeyPrefix, lbrycrdMainScriptPrefix},
lbrycrdTestnet: {lbrycrdTestnetPubkeyPrefix, lbrycrdTestnetScriptPrefix},
lbrycrdRegtest: {lbrycrdRegtestPubkeyPrefix, lbrycrdRegtestScriptPrefix},
}
nikooo777 (Migrated from github.com) commented 2021-02-16 19:17:29 +01:00

ouch did you test this out? I'm always very scared of touching those things

ouch did you test this out? I'm always very scared of touching those things
nikooo777 commented 2021-02-16 19:18:07 +01:00 (Migrated from github.com)

@lyoshenka can you check this out too please? Maybe you'll spot something I don't see

@lyoshenka can you check this out too please? Maybe you'll spot something I don't see
anbsky (Migrated from github.com) reviewed 2021-02-16 21:50:06 +01:00
@ -30,1 +27,4 @@
lbrycrdMain: {lbrycrdMainPubkeyPrefix, lbrycrdMainScriptPrefix},
lbrycrdTestnet: {lbrycrdTestnetPubkeyPrefix, lbrycrdTestnetScriptPrefix},
lbrycrdRegtest: {lbrycrdRegtestPubkeyPrefix, lbrycrdRegtestScriptPrefix},
}
anbsky (Migrated from github.com) commented 2021-02-16 21:50:06 +01:00

This syntax is fine (and it's also an auto gofmt fix)

This syntax is fine (and it's also an auto gofmt fix)
lyoshenka (Migrated from github.com) approved these changes 2021-02-18 18:18:11 +01:00
@ -48,1 +48,4 @@
// APIError wraps errors returned by LBRY API server to discern them from other kinds (like http errors).
type APIError struct {
Err error
lyoshenka (Migrated from github.com) commented 2021-02-18 18:17:53 +01:00

Err can be err

`Err` can be `err`
@ -30,1 +27,4 @@
lbrycrdMain: {lbrycrdMainPubkeyPrefix, lbrycrdMainScriptPrefix},
lbrycrdTestnet: {lbrycrdTestnetPubkeyPrefix, lbrycrdTestnetScriptPrefix},
lbrycrdRegtest: {lbrycrdRegtestPubkeyPrefix, lbrycrdRegtestScriptPrefix},
}
lyoshenka (Migrated from github.com) commented 2021-02-18 18:17:41 +01:00
[fear is the mind-killer](https://dune.fandom.com/wiki/Litany_Against_Fear)
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbry.go#85
No description provided.