Skip to content

Commit

Permalink
Merge pull request #91 from meroxa/generic-error
Browse files Browse the repository at this point in the history
Introduce detailed error from meroxa-go
  • Loading branch information
dianadoherty authored Mar 17, 2021
2 parents b6933d7 + 6a2931f commit f346308
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 28 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ require (
github.com/magiconair/properties v1.8.4 // indirect
github.com/mattn/go-colorable v0.1.8 // indirect
github.com/mattn/go-runewidth v0.0.10 // indirect
github.com/meroxa/meroxa-go v0.0.0-20210312164445-930a515bbd20
github.com/meroxa/meroxa-go v0.0.0-20210317180610-e39fde43d8e6
github.com/mitchellh/go-homedir v1.1.0
github.com/mitchellh/mapstructure v1.4.1 // indirect
github.com/nirasan/go-oauth-pkce-code-verifier v0.0.0-20170819232839-0fbfe93532da
Expand Down
31 changes: 7 additions & 24 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -134,30 +134,8 @@ github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Ky
github.com/mattn/go-runewidth v0.0.10 h1:CoZ3S2P7pvtP45xOtBw+/mDL2z0RKI576gSkzRRpdGg=
github.com/mattn/go-runewidth v0.0.10/go.mod h1:RAqKPSqVFrSLVXbA8x7dzmKdmGzieGRCM46jaSJTDAk=
github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0=
github.com/meroxa/meroxa-go v0.0.0-20210309114201-3ed87e1ff88b h1:4CNeZ1/4OiNfeUhDT21MRGiXWgOmRjJdfyZZhqYDa+k=
github.com/meroxa/meroxa-go v0.0.0-20210309114201-3ed87e1ff88b/go.mod h1:yzdHMk8vDvV8iODTBDpkhpGoZed2aB+WR7y7fIN88pc=
github.com/meroxa/meroxa-go v0.0.0-20210309125454-78b90cd6af61 h1:stfeTt0418Xw0OflxIVlxOD25Dz423E41wCkqjeNBLQ=
github.com/meroxa/meroxa-go v0.0.0-20210309125454-78b90cd6af61/go.mod h1:yzdHMk8vDvV8iODTBDpkhpGoZed2aB+WR7y7fIN88pc=
github.com/meroxa/meroxa-go v0.0.0-20210309143530-5dee50a9ca16 h1:bSznkjHkVkuEIlbrTwe0UENkS2rMDEwoAB4TYlHUatQ=
github.com/meroxa/meroxa-go v0.0.0-20210309143530-5dee50a9ca16/go.mod h1:yzdHMk8vDvV8iODTBDpkhpGoZed2aB+WR7y7fIN88pc=
github.com/meroxa/meroxa-go v0.0.0-20210309173620-858a7c0fe213 h1:Xsu+SvY2Wmizkva7ycV+avmY27PzT0nS10mR+6GHhk0=
github.com/meroxa/meroxa-go v0.0.0-20210309173620-858a7c0fe213/go.mod h1:yzdHMk8vDvV8iODTBDpkhpGoZed2aB+WR7y7fIN88pc=
github.com/meroxa/meroxa-go v0.0.0-20210310110921-bbd1a6045180 h1:9/Zi6yjEI11evW2YthAOocmn2E09zk0khSpPbSINiCE=
github.com/meroxa/meroxa-go v0.0.0-20210310110921-bbd1a6045180/go.mod h1:yzdHMk8vDvV8iODTBDpkhpGoZed2aB+WR7y7fIN88pc=
github.com/meroxa/meroxa-go v0.0.0-20210310111217-25506b3fff85 h1:0ulO5q5wNEx21rSq/GdojzqoFytE+DVqBneUW4VGmQg=
github.com/meroxa/meroxa-go v0.0.0-20210310111217-25506b3fff85/go.mod h1:yzdHMk8vDvV8iODTBDpkhpGoZed2aB+WR7y7fIN88pc=
github.com/meroxa/meroxa-go v0.0.0-20210310192144-e8c597791043 h1:kzCaObyQltuIByPUguvReWtUGwC10WPI0g6QB0Auzsc=
github.com/meroxa/meroxa-go v0.0.0-20210310192144-e8c597791043/go.mod h1:yzdHMk8vDvV8iODTBDpkhpGoZed2aB+WR7y7fIN88pc=
github.com/meroxa/meroxa-go v0.0.0-20210311115235-15b98ce6c01e h1:CM5rPsb4FUnA1JrOPN67MC9/2i9G6e2ecfO+8dNI8xY=
github.com/meroxa/meroxa-go v0.0.0-20210311115235-15b98ce6c01e/go.mod h1:yzdHMk8vDvV8iODTBDpkhpGoZed2aB+WR7y7fIN88pc=
github.com/meroxa/meroxa-go v0.0.0-20210311203439-20d2d68042fb h1:Itr4hSHiZm6b38+VHZYzFDE5IN7pHImmWGn2wQn0TOc=
github.com/meroxa/meroxa-go v0.0.0-20210311203439-20d2d68042fb/go.mod h1:yzdHMk8vDvV8iODTBDpkhpGoZed2aB+WR7y7fIN88pc=
github.com/meroxa/meroxa-go v0.0.0-20210311204705-af338944fe6c h1:/nr1AVTER+49p6MNuKuxXBgvUKMolbn4XrahPLU46gA=
github.com/meroxa/meroxa-go v0.0.0-20210311204705-af338944fe6c/go.mod h1:yzdHMk8vDvV8iODTBDpkhpGoZed2aB+WR7y7fIN88pc=
github.com/meroxa/meroxa-go v0.0.0-20210311211404-406cda71b078 h1:HTE1srv3/upZ93D3LMxC5Z4FvEZeXvdbNRTDCfoGN+M=
github.com/meroxa/meroxa-go v0.0.0-20210311211404-406cda71b078/go.mod h1:yzdHMk8vDvV8iODTBDpkhpGoZed2aB+WR7y7fIN88pc=
github.com/meroxa/meroxa-go v0.0.0-20210312164445-930a515bbd20 h1:0YaxL7A0R0z9jdjKBNZ31kJelSxFL+X3ZvU5z+qrctw=
github.com/meroxa/meroxa-go v0.0.0-20210312164445-930a515bbd20/go.mod h1:KtaTXPP6L2fv+omflnuihnc8pj7w44jC13M46Wv7T9Q=
github.com/meroxa/meroxa-go v0.0.0-20210317180610-e39fde43d8e6 h1:l6XRCIT4vqeyZGeI5V9D5BHaO/HFCk5Hk4KcYowy8XY=
github.com/meroxa/meroxa-go v0.0.0-20210317180610-e39fde43d8e6/go.mod h1:KtaTXPP6L2fv+omflnuihnc8pj7w44jC13M46Wv7T9Q=
github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg=
github.com/mitchellh/cli v1.0.0/go.mod h1:hNIlj7HEI86fIcpObd7a0FcrxTWetlwJDGcceTlRvqc=
github.com/mitchellh/go-homedir v1.0.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0=
Expand Down Expand Up @@ -185,6 +163,7 @@ github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4/go.mod h1:N6UoU20jOqgg
github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pkg/sftp v1.10.1/go.mod h1:lYOWFsE0bwd1+KfKJaKeuokY15vzFx25BLbzYYoAxZI=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/posener/complete v1.1.1/go.mod h1:em0nMJCgc9GFtwrmVmEMR/ZL6WyhyjMBndrE9hABlRI=
github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw=
Expand All @@ -210,7 +189,9 @@ github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeV
github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo=
github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966 h1:JIAuq3EEf9cgbU6AtGPK4CTG3Zf6CKMNqf0MHTggAUA=
github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966/go.mod h1:sUM3LWHvSMaG192sy56D9F7CNvL7jUJVXoqM1QKLnog=
github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d h1:zE9ykElWQ6/NYmHa3jpm/yHnI4xSofP+UP6SpjHcSeM=
github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc=
github.com/smartystreets/goconvey v1.6.4 h1:fv0U8FUIMPNf1L9lnHLvLhgicrIVChEkdzIKYqbNC9s=
github.com/smartystreets/goconvey v1.6.4/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA=
github.com/soheilhy/cmux v0.1.4/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4kGIyLM=
github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA=
Expand All @@ -236,6 +217,7 @@ github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
github.com/stretchr/testify v1.5.1 h1:nOGnQDM7FYENwehXlg/kFVnos3rEvtKTjRvOWSzb6H4=
github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA=
github.com/subosito/gotenv v1.2.0 h1:Slr1R9HxAlEKefgq5jn9U+DnETlIUa6HfgEzj0g5d7s=
github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw=
Expand Down Expand Up @@ -362,6 +344,7 @@ google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiq
google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM=
gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY=
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI=
gopkg.in/ini.v1 v1.51.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k=
Expand Down
34 changes: 32 additions & 2 deletions vendor/github.com/meroxa/meroxa-go/api_errors.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ github.com/mattn/go-isatty
# github.com/mattn/go-runewidth v0.0.10
## explicit
github.com/mattn/go-runewidth
# github.com/meroxa/meroxa-go v0.0.0-20210312164445-930a515bbd20
# github.com/meroxa/meroxa-go v0.0.0-20210317180610-e39fde43d8e6
## explicit
github.com/meroxa/meroxa-go
# github.com/mitchellh/go-homedir v1.1.0
Expand Down

0 comments on commit f346308

Please sign in to comment.