Module oc_tags
Data Types
key()
key() = atom() | binary() | unicode:latin1_charlist()
tags()
tags() = #{key() => value()}
value()
value() = binary() | unicode:latin1_charlist()
Function Index
format_error/1 | |
from_ctx/1 | |
new/0 | |
new/1 | |
new_ctx/2 | |
put/3 | |
to_map/1 | |
verify_key/1 | |
verify_value/1 |
Function Details
format_error/1
format_error(X1) -> any()
from_ctx/1
from_ctx(Ctx::ctx:t()) -> tags()
new/0
new() -> tags()
new/1
new(Map::maps:map()) -> tags()
new_ctx/2
new_ctx(Ctx::ctx:t(), Tags::tags()) -> ctx:t()
put/3
put(Key::key(), Value::value(), Tags::tags()) -> {ok, tags()} | {error, term()}
to_map/1
to_map(Tags::tags()) -> maps:map()
verify_key/1
verify_key(Key) -> any()
verify_value/1
verify_value(Value) -> any()