ardite / ardite-core

Core library for Ardite services.
MIT License
3 stars 1 forks source link

refactor(error): rename error code method #32

Closed calebmer closed 8 years ago

calebmer commented 8 years ago

Because error.code().code() is weird.

svmnotn commented 8 years ago

Couldn't you simply make error.code() return the code?

calebmer commented 8 years ago

error.code() has other methods like error.code().reason().

svmnotn commented 8 years ago

Ok, :+1: for merge on test pass