Skip to content

Commit

Permalink
Fix. name method for error class in ffi binding.
Browse files Browse the repository at this point in the history
  • Loading branch information
moteus committed Apr 10, 2015
1 parent 1c45259 commit eb85ee8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lua/lzmq/ffi.lua
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ end
function Error:mnemo()
return api.zmq_mnemoerror(self.errno)
end
Error.name = Error.mnemo

function Error:category()
return ERROR_CATEGORY
Expand Down

0 comments on commit eb85ee8

Please sign in to comment.