diff --git a/official/guides/customs-guide/golang/create-international-shipment.go b/official/guides/customs-guide/golang/create-international-shipment.go index ef425fac..6dafd67c 100644 --- a/official/guides/customs-guide/golang/create-international-shipment.go +++ b/official/guides/customs-guide/golang/create-international-shipment.go @@ -8,7 +8,7 @@ import ( func main() { client := easypost.New("EASYPOST_API_KEY") - shipment, err := client.CreateShipment( + shipment, _ := client.CreateShipment( &easypost.Shipment{ FromAddress: &easypost.Address{ Company: "EasyPost", @@ -54,5 +54,5 @@ func main() { }, ) - fmt.Println(address) + fmt.Println(shipment) } diff --git a/official/guides/errors-guide/csharp/catch-error.cs b/official/guides/errors-guide/csharp/catch-error.cs index dc61e142..1b3fb064 100644 --- a/official/guides/errors-guide/csharp/catch-error.cs +++ b/official/guides/errors-guide/csharp/catch-error.cs @@ -13,13 +13,16 @@ public static async Task Main() { var client = new EasyPost.Client(new EasyPost.ClientConfiguration("EASYPOST_API_KEY")); - try { + try + { Parameters.Address.Create parameters = new() { VerifyStrict = true }; Address address = await client.Address.Create(parameters); - } catch (EasyPost.Exceptions.API.ApiError error) { + } + catch (EasyPost.Exceptions.API.ApiError error) + { Console.Write(error.Code); // ADDRESS.VERIFY.FAILURE } }