Gitiles
Code Review
Sign In
gerrit.mcp.mirantis.com
/
packaging
/
sources
/
thrift
/
9a41a0c51ea322c3950ddc0cbbcc04fa3f135f1c
/
.
/
lib
/
erl
/
src-loose
/
protocol
/
tProtocolException.erl
blob: b9aa48a65345b49002be7c4734986dd6e4149790 [
file
] [
log
] [
blame
]
-module
(tProtocolException)
.
-include
(
"tProtocolException.hrl"
)
.
-export
([new/
2
,
new/
1
,
new/
0
])
.
new(
Type
,
Message
) ->
#tProtocolException{type=
Type
,
message=
Message
}
.
new(
Type
) -> new(
Type
,
nil)
.
new() -> new(
?tProtocolException_UNKNOWN,
nil)
.