Module epax_com

common functions used in epax modules.

Copyright © (C) 2012 Erlware, LLC.

Authors: Aman Mangal (mangalaman93@gmail.com).

Description

common functions used in epax modules

Function Index

abort/2aborts the process and throws error.
abort/3aborts the process and throws error.
console/2prints output on terminal.
error/2prints error on terminal.
error/3prints error on terminal.
format/1returns the flattened string.
format/2returns the formatted string.
get_appfile_content/1finds the .app or .app.src file in the application folder and returns the content of the file.
success/1prints successful completion message on terminal.
success/2prints successful completion message on terminal.

Function Details

abort/2

abort(Reason, Conclusion) -> ok

aborts the process and throws error

abort/3

abort(Reason, String, Args) -> ok

aborts the process and throws error

console/2

console(Message, Args) -> ok

prints output on terminal

error/2

error(Reason, Conclusion) -> ok

prints error on terminal

error/3

error(Reason, Conclusion, Args) -> ok

prints error on terminal

format/1

format(Deeplist) -> Result

returns the flattened string

format/2

format(String, Args) -> Result

returns the formatted string

get_appfile_content/1

get_appfile_content(Info) -> Result

finds the .app or .app.src file in the application folder and returns the content of the file

success/1

success(Message) -> ok

prints successful completion message on terminal

success/2

success(Message, Args) -> ok

prints successful completion message on terminal


Generated by EDoc